package com.xxx.rpc.server.service;

import lombok.extern.slf4j.Slf4j;

/**
 * rpc接口实现类
 */
@Slf4j
public class HelloServiceImpl implements HelloService {

    @Override
    public String sayHello(String msg) {
        log.info("invoke method sayHello. msg:{}", msg);
        int i = 1 / 0;
        return "你好, " + msg;
    }
}